<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>字符串对象</title>
	<script type="text/javascript">
		str = "我是一个好人，好的男人";
		str = "hello world!";
		str = "学并思视频下载地 址:bbs.daniuit.com，论坛地址： bbs.daniuit.com, 官方网址： www.daniuit.com";
		// alert(str.length);
		// 
		// res = str.replace('daniuit234234234',"xxxxxx");
		// 
		str = "1.jpg,2.png,3.gif";

		// arr = str.split(",");

		// alert(arr[0]);
		// 
		str = "Hello World";

		// code1 ="Dh2S";
		// code2 ="dh2s";


		newstr = str.toUpperCase();

		alert(newstr);





	</script>
</head>
<body>
	
</body>
</html>